package com.kailong.service.sys;

import com.kailong.dto.sys.DeptTreeDTO;
import com.kailong.entity.ResponsePageEntity;
import com.kailong.entity.sys.DeptConditionEntity;
import com.kailong.entity.sys.DeptEntity;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * created by kailong on 2025/9/3
 */
public interface DeptService {
    public ResponsePageEntity<DeptTreeDTO> searchByPage(DeptConditionEntity deptConditionEntity);
    public int insert(DeptEntity deptEntity);
    public int update(DeptEntity deptEntity);
    public int deleteByIds(List<Long> ids);
//    public void export(HttpServletResponse response, DeptConditionEntity deptConditionEntity) throws IOException;
}
